Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The methods focus() and blur() should be applied to all elements #543

Closed
wants to merge 1 commit into from
Closed

Conversation

juhovh
Copy link
Contributor

@juhovh juhovh commented Jul 6, 2012

Consider the case $('input').blur() where $('input') returns two elements and the second one is selected. The current code only blurs the first one and the second one stays selected. Works OK in jQuery but fails in Zepto.

@mislav mislav closed this in 85c8a84 Sep 29, 2012
lopper pushed a commit to buddydvd/zepto that referenced this pull request Apr 24, 2013
This ensures that a focused element gets blurred even if it's not the
first element in the collection.

Closes madrobby#543
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants